﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets
    xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Create INotifyPropertyChanged Implementation</Title>
      <Author>Teacher彭</Author>
      <Description>生成INotifyPropertyChanged接口的实现。</Description>
      <Shortcut>notify</Shortcut>
    </Header>
    <Snippet>
      <Code Language="CSharp">
        <![CDATA[        private void OnPropertyChanged(string aPropertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(aPropertyName));
        }
        public event PropertyChangedEventHandler PropertyChanged;
]]>
      </Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
